/*
 * File:   drv_ioports.h
 * Author: Omar Sevilla
 *
 * Created on 4 de diciembre de 2013, 01:08 AM
 */


#ifndef DRV_IOPORTS_H
#define	DRV_IOPORTS_H

#ifdef	__cplusplus
extern 
"C" {
#endif
#include "stdtypedef.h"
#include "system.h"

#define P0      (T_UBYTE)(1u << 0)
#define P1      (T_UBYTE)(1u << 1)
#define P2      (T_UBYTE)(1u << 2)
#define P3      (T_UBYTE)(1u << 3)
#define P4      (T_UBYTE)(1u << 4)
#define P5      (T_UBYTE)(1u << 5)
#define P6      (T_UBYTE)(1u << 6)
#define P7      (T_UBYTE)(1u << 7)
#define NONE    (T_UBYTE)(0u)
#define ALL     (T_UBYTE)(0xff)

    extern  void init_ports();
    
#ifdef	__cplusplus
}
#endif

#endif	
/* DRV_IOPORTS_H */

